//
//  GeoMemCache.h
//  ioscacher
//
//  Created by 海洋 周 on 12-4-22.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class GeoCachedObject;

@interface GeoMemCache : NSObject

- (id)initWithCacheSize:(int)size;//size can be 0, that means infinite

- (void)addCachedObject:(GeoCachedObject *)cachedObject;//add a cached object into MemCache

- (id)getCachedObjectByKey:(id)key;//Can be nil if cache does not hit

@end
